package com.warehouse.utils;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Page<T> {
    private int pageNum; //表示当前页数
    private int totalPage; //表示总页数
    private int pageSize; //每页的记录数
    private List<T> data; //数据

    public static final Integer PAGE_SIZE = 4; //每页显示条数
}
